#ifndef DEF_STARTSETTINGSDIALOG
#define DEF_STARTSETTINGSDIALOG

#include <QDialog>
#include <QPushButton>
#include <QSpinBox>
#include <QGroupBox>
#include <QRadioButton>
#include <QLineEdit>
#include "MainWindow.h"

class StartSettingsDialog : public QDialog
{
    Q_OBJECT

    public:
        StartSettingsDialog();

    private slots:
        void accept();
        void modeChanged();

    private:
        QPushButton* m_accept;
        QSpinBox* m_nbrPlayer;
        QGroupBox* m_local;
        QGroupBox* m_online;

        QRadioButton* m_rbLocal;
        QRadioButton* m_rbOnline;

        QLineEdit* m_serverAddress;
        QSpinBox* m_serverPort;
};

#endif
